12424a2614ec0d0d96d409569fe1f51b97c464f7,samigo/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/bean/print/PDFAssessmentBean.java,PDFAssessmentBean,getContentAnswer,#ItemContentsBean#PublishedAnswer#PrintSettingsBean#,559
Before Change
contentBuffer.append(". ");
}
contentBuffer.append(FormattedText.convertPlaintextToFormattedText(FormattedText.convertFormattedTextToPlaintext(answer.getText())));
contentBuffer.append("</td>");
contentBuffer.append("<td colspan='9'>");
contentBuffer.append("<h6>");
contentBuffer.append(commonMessages.getString("feedback"));
contentBuffer.append(": ");
if (answer.getGeneralAnswerFeedback() != null && !answer.getGeneralAnswerFeedback().equals(""))
contentBuffer.append(FormattedText.convertPlaintextToFormattedText(FormattedText.convertFormattedTextToPlaintext(answer.getGeneralAnswerFeedback())));
else
contentBuffer.append("--------");
contentBuffer.append("</h6>");
}
else {
contentBuffer.append("<td colspan='19'>");
if (!item.getItemData().getTypeId().equals(TypeIfc.MULTIPLE_CHOICE_SURVEY)) {
contentBuffer.append(answer.getLabel());
contentBuffer.append(". ");
}
contentBuffer.append(FormattedText.convertPlaintextToFormattedText(FormattedText.convertFormattedTextToPlaintext(answer.getText())));
contentBuffer.append("</td>");
}
contentBuffer.append("</td>");
After Change
contentBuffer.append(". ");
}
contentBuffer.append(convertFormattedText(answer.getText()));
contentBuffer.append("</td>");
contentBuffer.append("<td colspan='9'>");
contentBuffer.append("<h6>");
contentBuffer.append(commonMessages.getString("feedback"));
contentBuffer.append(": ");
if (answer.getGeneralAnswerFeedback() != null && !answer.getGeneralAnswerFeedback().equals(""))
contentBuffer.append(convertFormattedText(answer.getGeneralAnswerFeedback()));
else
contentBuffer.append("--------");
contentBuffer.append("</h6>");
}
else {
contentBuffer.append("<td colspan='19'>");
if (!item.getItemData().getTypeId().equals(TypeIfc.MULTIPLE_CHOICE_SURVEY)) {
contentBuffer.append(answer.getLabel());
contentBuffer.append(". ");
}
contentBuffer.append(convertFormattedText(answer.getText()));
contentBuffer.append("</td>");
}
contentBuffer.append("</td>");